<?php  $this->load->view('admin/suport/link_bar');?>
<form action="<?php echo base_url();?>admin/suport/save" method="post" name="frmTab" enctype="multipart/form-data">
	<div class="box_function">
		<table width="747" border="0" cellpadding="0" cellspacing="0" class="listproduct" id="listproduct">
	<tr>
		<td colspan="2" style="padding:5px">
				<?php echo $error_message?>
			</td>
		</tr>
				
		<tr>
			<td style="padding:5px"><?php echo lang('name');?></td>
			<td>
				<input size="35" name="txtName" value="<?php echo set_value('txtName', $name)?>" type="text"><span class="red">*</span>
			</td>
		</tr>
		
		<tr>
			<td style="padding:5px"><?php echo lang('nick_name');?></td>
			<td>
				<input size="35" name="txtNickName" value="<?php echo set_value('txtNickName', $nick_name)?>" type="text"><?php echo lang('example_nick_name')?><span class="red">*</span>
			</td>
		</tr>
		
		<tr>
			<td style="padding:5px"><?php echo lang('provider');?></td>
			<td>
				<?php 
				echo form_radio('provider', SKYPE, $provider==SKYPE ? true : false) . '<img title="'.SKYPE.'" align="absmiddle" src="' .base_url() . 'images/skypicon.gif">'; 
				echo '&nbsp;';
				echo form_radio('provider', YAHOO, $provider==YAHOO ? true : false) . '<img title="'.YAHOO.'" align="absmiddle" src="' .base_url() . 'images/yaicon.gif">'; 
				echo '&nbsp;';
				echo form_radio('provider', MSN, $provider==MSN ? true : false) . '<img title="'.MSN.'" align="absmiddle" src="' .base_url() . 'images/msnicon.gif">'; 
				echo '&nbsp;';
				echo form_radio('provider', GTALK, $provider==GTALK ? true : false) . '<img title="'.GTALK.'" align="absmiddle" src="' .base_url() . 'images/gicon.gif">'; 
				?><span class="red">*</span>
			</td>
		</tr>
		
		<tr>
			<td style="padding:5px"><?php echo lang('department');?></td>
			<td>
				<input size="35" name="txtDepartment" value="<?php echo set_value('txtDepartment', $department)?>" type="text"><span class="red">*</span>
			</td>
		</tr>
		
				
		<tr>
			<td style="padding:5px"><?php echo lang('active');?></td>
			<td>
				<input type="checkbox" name="active" value="1" <?php echo $active==1 ? 'checked="checked"' : ''?> />
			</td>
		</tr>
				
		<tr>
			<td><br></td>
			<td>
				<span class="red"><?php echo lang('the_item_are_mark_are_required')?></span>
			</td>
		</tr>
		
		<tr>
			<td></td>
			<td>
				<input value="<?php echo lang('save')?>" name="btSave" class="button" type="submit">
			</td>
		</tr>
		
	</table>
	</div>
	<input type="hidden" name="txtID" id="txtID" value="<?php echo $id?>" />
</form>